<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" ng-app="admin.login">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>对账工作台</title>
<link rel="icon" href="favicon.ico"/>
<link href="/vendor/bootstrap-3.3.5/css/bootstrap.min.css" rel="stylesheet">
<link href="/css/index.css" rel="stylesheet" type="text/css" />
</head>
<body ng-controller="loginController" ng-cloak>
<div class="loginContent">
  <div class="loginBox ">
    <p>对账工作台</p>
     <div class="text-danger warning">{{admin.error}}</div>
    <form name="form" class="form-horizontal" novalidate>
      <div class="form-group">
        <div class="input-group col-sm-10 col-sm-offset-1">
          <div class="input-group-addon"><i class="glyphicon glyphicon-user"></i></div>
          <input type="text" class="form-control" required name="account" ng-model="admin.account" placeholder="帐号">
        </div>
      </div>
      <div class="form-group">
        <div class="input-group col-sm-10 col-sm-offset-1">
          <div class="input-group-addon"><i class="glyphicon glyphicon-lock"></i></div>
          <input type="password" class="form-control" required name="password" ng-model="admin.password" placeholder="密码">
        </div>
      </div>
      <div class="form-group">
        <div class="col-sm-10 col-sm-offset-1">
          <button class="btn btn-primary btn-block " ng-click="login(form)">登录</button>
        </div>
      </div>

    </form>
  </div>
</div>
</body>
<script type="text/javascript" src="/vendor/jquery.min.js"></script>
<script type="text/javascript" src="/vendor/layer/layer.js"></script>
<script type="text/javascript" src="/vendor/angular1.5.11/angular.min.js"></script>
<script type="text/javascript" src="/vendor/angular1.5.11/angular-cookies.min.js"></script>
<script type="text/javascript" src="/js/loginController.js"></script>
</html>